<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Shifts a node from the beginning of the doubly linked list</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="spldoublylinkedlist.setiteratormode.html">SplDoublyLinkedList::setIteratorMode</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="spldoublylinkedlist.top.html">SplDoublyLinkedList::top</a></div>
 <div class="up"><a href="class.spldoublylinkedlist.html">SplDoublyLinkedList</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="spldoublylinkedlist.shift" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SplDoublyLinkedList::shift</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0)</p><p class="refpurpose"><span class="refname">SplDoublyLinkedList::shift</span> &mdash; <span class="dc-title">Shifts a node from the beginning of the doubly linked list</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-spldoublylinkedlist.shift-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>SplDoublyLinkedList::shift</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

 </div>

 
 <div class="refsect1 parameters" id="refsect1-spldoublylinkedlist.shift-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-spldoublylinkedlist.shift-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   The value of the shifted node.
  </p>
 </div>

 
 <div class="refsect1 errors" id="refsect1-spldoublylinkedlist.shift-errors">
  <h3 class="title">错误／异常</h3>
   <p class="para">
    Throws <a href="class.runtimeexception.html" class="classname">RuntimeException</a> when the data-structure is empty.
   </p>
 </div>

 
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="spldoublylinkedlist.setiteratormode.html">SplDoublyLinkedList::setIteratorMode</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="spldoublylinkedlist.top.html">SplDoublyLinkedList::top</a></div>
 <div class="up"><a href="class.spldoublylinkedlist.html">SplDoublyLinkedList</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
